#ifndef MAINWINDOW_H
#define MAINWINDOW_H
// 主窗口类

#include <QEvent>
#include <QMainWindow>
#include <QVector>
#include "sendobj.h"
#include "operate.h"


QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT
protected:
    bool eventFilter(QObject *obj, QEvent *event);

public:
    MainWindow(QWidget *parent = nullptr);
    void register_Btn_Cls();
    ~MainWindow();

private:
    QVector<QString> signArray;
    Ui::MainWindow *ui;
    SendObj *sendsomething;
    Operate *op;
    QPushButton *myButton;
    QPushButton *btnCls;

public slots:
    void sendSlot();
};
#endif // MAINWINDOW_H
